{% extends "base_en.html" %}
{% block content %}
			   <div>
			    This month ({% now "Y-m"%}) total payout: {{summary.expend_this_month|stringformat:".2f"}}
			    <ins><hr/></ins>
			     {% if summary.notpayCount %}
			     <div style="color:red;">There are {{summary.notpayCount}} items <a href="/notpay">not paid</a>! Total {{summary.total_notpay|stringformat:".2f"}} </div>
			     {% else %}
			     All items paid.
			     {% endif %}
			   </div>
			   <hr/>
			   <table class="rightside">
			     <tr>
			       <td align="right">Total Income:</td><td>{{summary.total_income|stringformat:".2f"}}</td>
			     </tr>
			     <tr>
			       <td align="right">Paid payout:</td><td align="left">{{summary.payedout|stringformat:".2f"}}</td>
			     </tr>
			     <tr>
			       <td colspan="2" align="right">--------------------------</td>
			     </tr>   
			     <tr>
			       <td align="right">Remain:</td><td>{{summary.remaining|stringformat:".2f"}}</td>
			     </tr>   
			     <tr>
			       <td align="right">Not Paid payout:</td><td style="color:Red;">{{summary.total_notpay|stringformat:".2f"}}</td>
			     </tr>
			     <tr>
			       <td colspan="3" align="right">--------------------------</td>
			     </tr>
			     <tr>
			       <td align="right">Net Balance:</td><td>{{summary.balance|stringformat:".2f"}}</td>
			     </tr>   
			   </table>
			   <hr/>
{% endblock %}
